package cn.edu.hy.demo06.entity;

public class Student {

    private String name;
    private double height;


    public Student() {
    }

    public Student(String name, double height) {
        setName(name);
        setHeight(height);
    }

    public double getHeight() {
        return height;
    }

    public void setHeight(double height) {
        this.height = height;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
